package com.chixing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author smith
 * @since 2025-09-28
 */
public class Mycoupon implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "mycou_id", type = IdType.AUTO)
    private Integer mycouId;

    private Integer userId;

    private Integer couId;

    private String mycouponNumber;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Integer mycouponStatus;

    public Integer getMycouId() {
        return mycouId;
    }

    public void setMycouId(Integer mycouId) {
        this.mycouId = mycouId;
    }
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public Integer getCouId() {
        return couId;
    }

    public void setCouId(Integer couId) {
        this.couId = couId;
    }
    public String getMycouponNumber() {
        return mycouponNumber;
    }

    public void setMycouponNumber(String mycouponNumber) {
        this.mycouponNumber = mycouponNumber;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
    public Integer getMycouponStatus() {
        return mycouponStatus;
    }

    public void setMycouponStatus(Integer mycouponStatus) {
        this.mycouponStatus = mycouponStatus;
    }

    @Override
    public String toString() {
        return "Mycoupon{" +
            "mycouId=" + mycouId +
            ", userId=" + userId +
            ", couId=" + couId +
            ", mycouponNumber=" + mycouponNumber +
            ", createTime=" + createTime +
            ", updateTime=" + updateTime +
            ", mycouponStatus=" + mycouponStatus +
        "}";
    }
}
